export const useForgetStore = defineStore('forget', () => {
    let formData = $ref({
        code: '',
        account: '',
        graphicCaptcha: '',
        accept: false,
        send: false,
    });

    let passwords = $ref({
        password: '',
        rePassword: '',
    });

    // 清空信息
    function clearInfo() {
        formData = {} as any;
        passwords = {} as any;
    }

    return $$({
        formData,
        passwords,
        clearInfo,
    });
});

